package com.schedualnew.mq.entity;

import lombok.Data;

@Data
public class ExamApplyPatient {
    private String sickId;
    private String motherSickId;
    private String icCard;
    private String identityCard;
    private String outpatientNo;
    private String inpatientNo;
    private String visitId;
    private String name;
    private String firstPhonetic;
    private String sex;
    private String birthDate;
    private String birthTime;
    private String height;
    private String weight;
    private String birthPlace;
    private String degree;
    private String chargeType;
    private String mailingAddress;
    private String zipCode;
    private String phoneNumber;
    private String patientSource;
    private String priorityOrder;
    private String reqDept;
    private String reqDeptName;
    private String bedNo;
    private String reqPhysician;
    private String physSign;
    private String clinSymp;
    private String clinDiag;
    private String relevantDiag;
    private String relevantLabTest;
    private String allergy;
    private String lastMensesDate;


    public ExamApplyPatient(ExamApply examApply) {
        this.sickId = examApply.getSickId();
        this.motherSickId = examApply.getMotherSickId();
        this.icCard = examApply.getIcCard();
        this.identityCard = examApply.getIdentityCard();
        this.outpatientNo = examApply.getOutpatientNo();
        this.inpatientNo = examApply.getInpatientNo();
        this.visitId = examApply.getVisitId();
        this.name = examApply.getName();
        this.firstPhonetic = examApply.getFirstPhonetic();
        this.sex = examApply.getSex();
        this.birthDate = examApply.getBirthDate();
        this.birthTime = examApply.getBirthTime();
        this.height = examApply.getHeight();
        this.weight = examApply.getWeight();
        this.birthPlace = examApply.getBirthPlace();
        this.degree = examApply.getDegree();
        this.chargeType = examApply.getChargeType();
        this.mailingAddress = examApply.getMailingAddress();
        this.zipCode = examApply.getZipCode();
        this.phoneNumber = examApply.getPhoneNumber();
        this.patientSource = examApply.getPatientSource();
        this.priorityOrder = examApply.getPriorityOrder();
        this.reqDept = examApply.getReqDept();
        this.reqDeptName = examApply.getReqDeptName();
        this.bedNo = examApply.getBedNo();
        this.reqPhysician = examApply.getReqPhysician();
        this.physSign = examApply.getPhysSign();
        this.clinSymp = examApply.getClinSymp();
        this.clinDiag = examApply.getClinDiag();
        this.relevantDiag = examApply.getRelevantDiag();
        this.relevantLabTest = examApply.getRelevantLabTest();
        this.allergy = "";
        this.lastMensesDate = examApply.getLastMensesDate();
    }

    public void setData(ExamApply examApply) {
        this.sickId = examApply.getSickId();
        this.motherSickId = examApply.getMotherSickId();
        this.icCard = examApply.getIcCard();
        this.identityCard = examApply.getIdentityCard();
        this.outpatientNo = examApply.getOutpatientNo();
        this.inpatientNo = examApply.getInpatientNo();
        this.visitId = examApply.getVisitId();
        this.name = examApply.getName();
        this.firstPhonetic = examApply.getFirstPhonetic();
        this.sex = examApply.getSex();
        this.birthDate = examApply.getBirthDate();
        this.birthTime = examApply.getBirthTime();
        this.height = examApply.getHeight();
        this.weight = examApply.getWeight();
        this.birthPlace = examApply.getBirthPlace();
        this.degree = examApply.getDegree();
        this.chargeType = examApply.getChargeType();
        this.mailingAddress = examApply.getMailingAddress();
        this.zipCode = examApply.getZipCode();
        this.phoneNumber = examApply.getPhoneNumber();
        this.patientSource = examApply.getPatientSource();
        this.priorityOrder = examApply.getPriorityOrder();
        this.reqDept = examApply.getReqDept();
        this.reqDeptName = examApply.getReqDeptName();
        this.bedNo = examApply.getBedNo();
        this.reqPhysician = examApply.getReqPhysician();
        this.physSign = examApply.getPhysSign();
        this.clinSymp = examApply.getClinSymp();
        this.clinDiag = examApply.getClinDiag();
        this.relevantDiag = examApply.getRelevantDiag();
        this.relevantLabTest = examApply.getRelevantLabTest();
        this.lastMensesDate = examApply.getLastMensesDate();
    }
}
